package com.ys.web.user.privacy;

import com.ys.base.BaseDao;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface PrivacyMapper extends BaseDao {

    @Select("select * from user_privacy_config where user_id=#{userId}")
    Privacy getPrivacyById(@Param("userId")long userId);

    List<Privacy> getPrivacyByIds(List<String> list);

    int config(@Param("userId")String userId,@Param("status")int status,@Param("type")int type);
}
